-
Notifications
You must be signed in to change notification settings - Fork 205
doc: Adds example & documentation for new mongodbatlas_team_project_assignment resource #3581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: CLOUDP-320243-dev-2.0.0
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
APIx bot: a message has been sent to Docs Slack channel |
private_key = var.private_key | ||
} | ||
resource "mongodbatlas_team_project_assignment" "example" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] Consider using this
instead of example
(Applies to all files) https://www.terraform-best-practices.com/naming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you. Changed it
|
||
variable "private_key" { | ||
description = "Atlas API private key" | ||
type = string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add default = ""
so the example can be run with env-vars to authenticate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion. Added it to the other docs PR as well #3578
Description
Adds example & documentation for new mongodbatlas_team_project_assignment resource
Link to any related issue(s):CLOUDP-334646
Type of change:
Required Checklist:
Further comments
All placeholders will be addressed as part of this ticket CLOUDP-329711